package com.atguigu.jxc.service;

import com.atguigu.jxc.entity.OverflowList;
import com.atguigu.jxc.entity.OverflowListGoods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OverflowListService {

    //添加报损单 信息  及相关联的报损单商品列表
    int save(OverflowList overflowList);

    //根据时间范围查询
    List<OverflowList> getListByDate(String sTime,String eTime);

    //根据报单id  查询商品列表
    List<OverflowListGoods> getByListId(Integer overflowListId);

}
